.class Lcom/brixd/niceapp/community/CommunityMainFragment$5;
.super Ljava/lang/Object;
.source "CommunityMainFragment.java"

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/CommunityMainFragment;->initActions(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/CommunityMainFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/CommunityMainFragment;

    .prologue
    .line 214
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .registers 2
    .param p1, "arg0"    # I

    .prologue
    .line 237
    return-void
.end method

.method public onPageScrolled(IFI)V
    .registers 4
    .param p1, "arg0"    # I
    .param p2, "arg1"    # F
    .param p3, "arg2"    # I

    .prologue
    .line 232
    return-void
.end method

.method public onPageSelected(I)V
    .registers 4
    .param p1, "position"    # I

    .prologue
    .line 218
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityMainFragment;->mTypes:Ljava/util/ArrayList;
    invoke-static {v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->access$100(Lcom/brixd/niceapp/community/CommunityMainFragment;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    # setter for: Lcom/brixd/niceapp/community/CommunityMainFragment;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;
    invoke-static {v1, v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->access$002(Lcom/brixd/niceapp/community/CommunityMainFragment;Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;)Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    .line 219
    if-nez p1, :cond_32

    .line 220
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    invoke-virtual {v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->setTouchModeAbove(I)V

    .line 225
    :goto_23
    const/4 v0, 0x2

    if-ne p1, v0, :cond_31

    .line 226
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    invoke-virtual {v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "EnterAppRanking"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 228
    :cond_31
    return-void

    .line 222
    :cond_32
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    invoke-virtual {v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->setTouchModeAbove(I)V

    goto :goto_23
.end method
